import { PartialType } from '@nestjs/swagger';
import { CreateModelDto } from './create-model.dto';
import { ApiProperty } from '@nestjs/swagger';

export class UpdateModelDto extends PartialType(CreateModelDto) {
    @ApiProperty({
        description: 'Model id',
        example: 1
    })
    id: number;

    @ApiProperty({
        description: 'Default model',
        default: false,
        required: false
    })
    default?: boolean;
}
